package lab02.test05;

public class Cube {
    float length;
    float wide;
    float high;

    public Cube() {
        float length = 0;
        float wide = 0;
        float high = 0;
    }

    public void setValue(float height, float length, float width) {
        this.high = height;
        this.length = length;
        this.wide = width;
    }

    public float bulk() {
        float bulk;
        bulk = length * wide * high;
        return bulk;
    }

}
